﻿@{
    ViewBag.Title = "CreateSelfInfo";
}
@model SelfInfo.Models.SELFINFO
<h2>Create SelfInfo</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>SELFINFO</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.PIECEID)
        </div>
        <div class="editor-field">
            @*@Html.EditorFor(model => model.PIECEID)*@
            @Html.DropDownList("PIECEID")
            @Html.ValidationMessageFor(model => model.PIECEID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.TODAY)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.TODAY)
            @Html.ValidationMessageFor(model => model.TODAY)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.SCORE)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SCORE)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.TIME)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.TIME)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.BRIEF)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.BRIEF)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.COMMENT)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.COMMENT)
        </div>

        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "IndexSelfInfo")
</div>